package beispiel;

public class MyThread extends Thread {
	public void run() {
		System.out.println("Hello world");
	}
	
	public static void main(String[] args) throws InterruptedException {
		MyThread t = new MyThread();
		t.start();
		System.out.println("Ich tue was");
		t.join();
	}
}
